<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../day10_vue/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<form action="http//:www.baidu.com" method="post" >
			<input type="text" name="" id="txt" value=""  />
			<input type="submit" value="事件提交"/>
		</form>
		</div>
		
	</body>
	<script type="text/javascript">
		$("from").submit(function(){
			var val =$("#txt").val()
			if (val == "lisi") {
				return false
			}
			return true
		})
	</script>
</html>
